import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/person_monitoring_page_entity_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/person_monitoring_page_entity_entity.g.dart';
///获得人员实时监测分页
@JsonSerializable()
class PersonMonitoringPageEntityEntity {

	PersonMonitoringPageEntityEntity();

	factory PersonMonitoringPageEntityEntity.fromJson(Map<String, dynamic> json) => $PersonMonitoringPageEntityEntityFromJson(json);
	 int? id;
	 int? companyId;
	 String? companyName;
	 String? name;
	 int? sex;
	 String? phone;
	 String? idCard;
	 String? groupId;
	 int? craft;
	 String? craftStr;
	 String? enterTime;
	 String? exitTime;
	 PersonMonitoringPageEntityTrajectory? trajectory;
	 String? createTime;

	Map<String, dynamic> toJson() => $PersonMonitoringPageEntityEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class PersonMonitoringPageEntityTrajectory {


	PersonMonitoringPageEntityTrajectory();

	factory PersonMonitoringPageEntityTrajectory.fromJson(Map<String, dynamic> json) => $PersonMonitoringPageEntityTrajectoryFromJson(json);

	Map<String, dynamic> toJson() => $PersonMonitoringPageEntityTrajectoryToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}